Circuit Device And Oscillator

ABSTRACT

A circuit device includes an oscillation circuit generating an oscillation signal by oscillating a vibrator, a temperature sensor circuit performing an intermittent operation, a logic circuit performing temperature compensation processing based on an output of the temperature sensor circuit, and a power supply circuit supplying power to the oscillation circuit. The oscillation circuit is disposed in a circuit region, the temperature sensor circuit and the logic circuit are disposed in a circuit region, and the power supply circuit is disposed in a circuit region, which is positioned between the circuit region and the circuit region.

The present application is based on, and claims priority from JP Application Serial Number 2020-160718, filed Sep. 25, 2020, the disclosure of which is hereby incorporated by reference herein in its entirety.

BACKGROUND 1. Technical Field

The present disclosure relates to a circuit device, an oscillator, and the like.

2. Related Art

In the related art, a circuit device having an oscillation circuit that oscillates a vibrator such as a quartz crystal vibrator is known. JP-A-2015-90973 discloses a layout disposition of a circuit device having a temperature compensated oscillation circuit. In JP-A-2015-90973, a circuit block having an analog circuit as a component and a circuit block having a digital circuit as a component are disposed separately, and the wiring that electrically couples the analog circuit and the vibrator is laid out so that the wiring does not overlap with the block of the digital circuit.

A temperature sensor circuit is used for temperature compensation processing of an oscillation frequency of an oscillation circuit. A target of the temperature compensation processing is the oscillation frequency of a vibrator. Therefore, in order to measure the temperature of the vibrator more accurately, the temperature sensor circuit is usually disposed near the oscillation circuit to which the vibrator is electrically coupled. This is because the heat of the vibrator is transferred from the vibrator to the oscillation circuit via a metal terminal or a wiring.

On the other hand, in a circuit device having a temperature compensated oscillation circuit, it is conceivable to operate the temperature sensor circuit intermittently in order to achieve low power consumption. However, when the temperature sensor circuit performs the intermittent operation in this way, the current consumption of the temperature sensor circuit changes in an AC manner. Therefore, it has been found that when such a temperature sensor circuit is close to the oscillation circuit, the temperature sensor circuit may become a noise source and the signal characteristics of the oscillation signal of the oscillation circuit may deteriorate.

SUMMARY

An aspect of the present disclosure relates to a circuit device including: an oscillation circuit generating an oscillation signal by oscillating a vibrator; a temperature sensor circuit performing an intermittent operation; a logic circuit performing temperature compensation processing based on an output of the temperature sensor circuit; and a power supply circuit supplying power to the oscillation circuit, in which the oscillation circuit is disposed in a first circuit region, the temperature sensor circuit and the logic circuit are disposed in a second circuit region, and the power supply circuit is disposed in a third circuit region positioned between the first circuit region and the second circuit region.

Another aspect of the present disclosure relates to a circuit device including: an oscillation circuit generating an oscillation signal by oscillating a vibrator; a temperature sensor circuit performing an intermittent operation; a logic circuit performing temperature compensation processing based on an output of the temperature sensor circuit; a power supply terminal to which a power supply voltage is input; and a ground terminal to which a ground voltage is input, in which the oscillation circuit is disposed in a first circuit region, the temperature sensor circuit and the logic circuit are disposed in a second circuit region, and the power supply terminal and the ground terminal are diagonally disposed in the second circuit region.

Further, still another aspect of the present disclosure relates to an oscillator including the circuit device described above and the vibrator.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example of a configuration of a circuit device of the present embodiment.

FIG. 2 illustrates an example of a layout disposition of the circuit device of the present embodiment.

FIG. 3 illustrates an example of a configuration of an oscillation circuit.

FIG. 4 illustrates an example of a configuration of a temperature sensor circuit.

FIG. 5 is an explanatory view of an operation of the temperature sensor circuit.

FIG. 6 illustrates an example of characteristics of frequency deviation of a clock signal and an output pulse signal with respect to temperature.

FIG. 7 illustrates a detailed example of a configuration of a counter circuit.

FIG. 8 is a detailed explanatory view of an operation of the temperature sensor circuit.

FIG. 9 is an explanatory view of deterioration of signal characteristics of an oscillation signal generated due to an intermittent operation.

FIG. 10 illustrates an example of a configuration of a ring oscillator.

FIG. 11 illustrates an example of a configuration of a regulator.

FIG. 12 illustrates an example of a configuration of a current setting circuit.

FIG. 13 illustrates an example of wirings of a power supply line and a ground line in the circuit device.

FIG. 14 illustrates another example of a layout disposition of the circuit device of the present embodiment.

FIG. 15 illustrates still another example of a layout disposition of the circuit device of the present embodiment.

FIG. 16 illustrates a structural example of the oscillator.

DESCRIPTION OF EXEMPLARY EMBODIMENTS

Hereinafter, the present embodiment will be described. The present embodiment to be described below does not unduly limit the contents of the disclosure described in the appended claims. Further, all configurations to be described in the present embodiment are not limited to being essential constituent conditions.

1. Circuit Device

FIG. 1 illustrates an example of a configuration of a circuit device 20 according to the present embodiment. The circuit device 20 of the present embodiment includes at least an oscillation circuit 30, a temperature sensor circuit 40, and a logic circuit 50. The circuit device 20 can include a power supply circuit 60. Further, the oscillator 4 of the present embodiment includes a vibrator and the circuit device 20. The vibrator 10 is electrically coupled to the circuit device 20. For example, the vibrator 10 and the circuit device 20 are electrically coupled using an internal wiring, a bonding wire, a metal bump, or the like of a package that accommodates the vibrator 10 and the circuit device 20.

The vibrator 10 is an element generating mechanical vibration by an electric signal. The vibrator 10 can be realized by a vibrator element such as a quartz crystal vibrator element, for example. For example, the vibrator 10 can be realized by a tuning fork type quartz crystal vibrator element, a twin tuning fork type quartz crystal vibrator element, or a quartz crystal vibrator element whose cut angle vibrates in a thickness-slide manner such as an AT cut or an SC cut. For example, the vibrator 10 may be a vibrator built in a temperature compensated crystal oscillator (TCXO) having no constant temperature oven, or a vibrator built in a constant temperature oven controlled crystal oscillator (OCXO) having a constant temperature oven. Note that, the vibrator 10 according to the present embodiment can be realized by various vibrator elements such as vibrator elements other than a tuning fork type, twin tuning fork type, or a thickness-slide vibration type, or piezoelectric vibrator elements made of materials other than quartz crystal. For example, as the vibrator 10, a surface acoustic wave (SAW) resonator, a micro electro mechanical systems (MEMS) vibrator as a silicon vibrator formed using a silicon substrate, or the like may be adopted.

The circuit device 20 is an integrated circuit device called an integrated circuit (IC). For example, the circuit device 20 is an IC manufactured by a semiconductor process and is a semiconductor chip in which circuit elements are formed on a semiconductor substrate. In FIG. 1, the circuit device 20 includes the oscillation circuit 30, the temperature sensor circuit 40, the logic circuit 50, the power supply circuit 60, an output buffer circuit 70, and an I/O circuit 80.

The oscillation circuit 30 is a circuit that oscillates the vibrator 10. For example, the oscillation circuit 30 is electrically coupled to the terminals TX1 and TX2 and generates an oscillation signal OSC by causing the vibrator 10 to oscillate. As an example, the oscillation circuit 30 generates an oscillation signal OSC having a frequency of, for example, 32 KHz. The terminal TX1 is a first terminal, and the terminal TX2 is a second terminal. For example, the oscillation circuit 30 can be realized by a drive circuit for oscillation provided between the terminal TX1 and the terminal TX2 and an active element such as a capacitor or a resistor. The drive circuit can be realized by, for example, a CMOS inverter circuit or a bipolar transistor. The drive circuit is a core circuit of the oscillation circuit 30, and the drive circuit oscillates the vibrator 10 by voltage driving or current driving the vibrator 10. As the oscillation circuit 30, various types of oscillation circuits can be used such as an inverter type, a Pierce type, a Colpitts type, or a Hartley type. Further, the oscillation circuit 30 is provided with a variable capacitance circuit and can adjust the oscillation frequency by adjusting the capacitance of the variable capacitance circuit. The variable capacitance circuit can be realized by, for example, a capacitor array and a switch array coupled to the capacitor array. For example, the variable capacitance circuit includes a first capacitor array having a plurality of capacitors whose capacitance values are binary weighted. Further, the variable capacitance circuit includes a first switch array having a plurality of switches in which each switch turns on and off the coupling between each capacitor in the first capacitor array and terminal TX1. Further, as the variable capacitance circuit, a first variable capacitance circuit, which has the first capacitor array and the first switch array and is coupled to terminal TX1, and a second variable capacitance circuit, which has the second capacitor array and the second switch array and is coupled to the terminal TX2, may be provided. Note that, it is also possible to realize the variable capacitance circuit by a variable capacitance element such as a varactor. Further, coupling in the present embodiment is electrical coupling. The electrical coupling is coupling that an electrical signal is transmittable, and coupling that enables transmission of information by an electrical signal. The electrical coupling may be coupling via an active element or the like.

The temperature sensor circuit 40 measures the temperature such as the environmental temperature of the vibrator 10 or the circuit device 20, and outputs the result as temperature data TSQ. The temperature data TSQ is data, for example, that monotonously increases or monotonously decreases with respect to the temperature in an operation temperature range of the circuit device 20. The temperature sensor circuit 40 is a temperature sensor that utilizes the fact that the oscillation frequency of the ring oscillator 42 has a temperature dependency, as illustrated in FIG. 4 described later. Specifically, as illustrated in FIG. 4, the temperature sensor circuit 40 includes a ring oscillator 42 and a counter circuit 44. In a count period TSENS defined by a clock signal CK based on the oscillation signal OSC from the oscillation circuit 30, the counter circuit 44 counts an output pulse signal RCK, which is an oscillation signal of the ring oscillator 42 and outputs the count value as the temperature data TSQ. Note that, the temperature sensor circuit 40 is not limited to this, for example, an analog temperature sensor, which outputs a temperature detection voltage by utilizing the fact that a forward voltage of the PN junction has a temperature dependency, and an A/D conversion circuit, which A/D converts the temperature detection voltage and outputs the temperature data TSQ, may be included.

In the present embodiment, the temperature sensor circuit 40 performs an intermittent operation. For example, the temperature sensor circuit 40 performs the intermittent operation of obtaining the temperature data TSQ corresponding to the temperature during the operation period and stopping the operation of the temperature sensor circuit 40 after outputting the obtained temperature data TSQ to the logic circuit 50. The details of the intermittent operation will be described later.

The logic circuit 50 performs temperature compensation processing based on the output of the temperature sensor circuit 40. This temperature compensation processing is performed by the temperature compensation circuit 54 of the logic circuit 50. The temperature compensation processing is, for example, processing of compensating by reducing fluctuations in the oscillation frequency caused by the temperature fluctuations. That is, the logic circuit 50 performs the temperature compensation processing for the oscillation frequency of the oscillation circuit 30 so that the frequency becomes constant even when the temperature fluctuates. Specifically, the logic circuit 50 performs the digital temperature compensation processing based on the temperature data TSQ that is the output of the temperature sensor circuit 40. For example, the logic circuit 50 obtains frequency adjustment data based on the temperature data TSQ. Further, by adjusting the capacitance value of the variable capacitance circuit of the oscillation circuit 30 described above based on the obtained frequency adjustment data, the temperature compensation processing for the oscillation frequency of the oscillation circuit 30 is realized. For example, the logic circuit 50 has a storage circuit, and the storage circuit stores a lookup table that represents the correspondence between the temperature data TSQ and the frequency adjustment data. The logic circuit performs the temperature compensation processing for obtaining frequency adjustment data from the temperature data TSQ by using the lookup table. The storage circuit can be realized by, for example, a non-volatile memory. The non-volatile memory is, for example, an EEPROM such as a FAMOS memory or a MONOS memory, but is not limited to this, and may be an OTP memory, a fuse type ROM, or the like. Alternatively, the storage circuit may be realized by a RAM or may be realized by a register configured with a latch circuit or the like. Note that, the logic circuit 50 may perform arithmetic processing for converting the temperature data TSQ into converted temperature data, and the lookup table may be a table that represents the correspondence between the converted temperature data and the frequency adjustment data. The converted temperature data is data that monotonously increases or monotonously decreases with respect to the temperature similar to the temperature data TSQ, but the slope of the converted temperature data is converted from the slope of the temperature data TSQ corresponding to the temperature range.

The logic circuit 50 is a control circuit and performs various control processes. For example, the logic circuit 50 controls the entire circuit device 20 and controls the operation sequence of the circuit device 20. Further, the logic circuit 50 may perform various processing for controlling the oscillation circuit 30 or may control the temperature sensor circuit 40 or the power supply circuit 60. The logic circuit 50 can be realized, for example, by an application specific integrated circuit (ASIC) configured with automatic placement and wiring such as a gate array.

The power supply voltage VDD from the power supply terminal TVDD is supplied to the power supply circuit 60, and the power supply circuit 60 supplies various power supply voltages for the internal circuit of the circuit device 20 to the internal circuit. The power supply circuit 60 can also be called a reference signal generation circuit that generates a reference signal such as a reference voltage or a reference current used in the circuit device 20. For example, the power supply circuit 60 supplies power to at least the oscillation circuit 30. Further, the power supply circuit 60 may supply power to the logic circuit 50. Specifically, in FIG. 1, the power supply circuit 60 has a regulator 61, and the regulator 61 supplies a regulated power supply voltage VREG1 to the oscillation circuit 30 as a power source by regulating the power supply voltage VDD, which is an external power supply voltage. Further, the power supply circuit 60 has a regulator 62, and the regulator 62 supplies a regulated power supply voltage VREG2 to the logic circuit 50 as a power source by regulating the power supply voltage VDD. The VDD is, for example, a voltage of 1.5 to 3.6 V. Further, the VREG1 has a voltage of, for example, 0.9 to 1.1 V, and the VREG2 has a voltage of, for example, 1.1 to 1.3 V. Further, the VREG3 described later is, for example, a voltage of 1.25 to 1.45 V.

The output buffer circuit 70 outputs an output clock signal CKQ based on the oscillation signal OSC. For example, the output buffer circuit 70 buffers the clock signal CK based on the oscillation signal OSC and outputs the clock signal CK as the output clock signal CKQ to the clock terminal TCK. Thereafter, the output clock signal CKQ is output to the outside via the external terminal TECK of the oscillator 4. For example, the output buffer circuit 70 outputs the output clock signal CKQ in a single-ended CMOS signal format. For example, the logic circuit 50 outputs the clock signal CK based on the oscillation signal OSC that is an oscillation clock signal from the oscillation circuit 30. For example, the logic circuit 50 receives an output enable signal OE from an output enable terminal TOE via the I/O circuit 80. Thereafter, the logic circuit 50 outputs the oscillation signal OSC as the clock signal CK when the output enable signal OE is active. Thereafter, the output buffer circuit 70 buffers the clock signal CK and outputs the clock signal CK as the output clock signal CKQ. On the other hand, the logic circuit 50 sets the clock signal CK to a fixed voltage level such as a low level, for example, when the output enable signal OE is inactive. As a result, the voltage level of the clock terminal TCK is set to a fixed voltage level. Note that, a phrase that the signal is active means, for example, that the signal is a high level in the case of a positive logic and is a low level in the case of a negative logic. Further, a phrase that the signal is inactive means, for example, that the signal is a low level in the case of a positive logic and is a high level in the case of a negative logic. Note that, the output buffer circuit 70 may output the output clock signal CKQ in a signal format other than CMOS.

The I/O circuit 80 is a circuit that receives the output enable signal OE from the output enable terminal TOE and outputs the output enable signal OE to the logic circuit 50. The I/O circuit 80 can include, for example, a test circuit for inspection such as an analog circuit of the circuit device 20.

The circuit device 20 also includes the power supply terminal TVDD, a ground terminal TGND, and a clock terminal TCK. Further, the circuit device 20 includes terminals TX1 and TX2 for coupling the vibrator and the output enable terminal TOE. These terminals are, for example, pads of the circuit device 20 which is a semiconductor chip. For example, in the pad region, a metal layer is exposed from a passivation film which is an insulation layer, and the exposed metal layer constitutes a pad which is a terminal of the circuit device 20.

The power supply terminal TVDD is a terminal to which the power supply voltage VDD is supplied. For example, the power supply voltage VDD from an external power supply device is supplied to the power supply terminal TVDD. The ground terminal TGND is a terminal to which a ground voltage GND is supplied. GND can also be referred to VSS, and the ground voltage is, for example, a ground potential. In the present embodiment, a ground is appropriately referred to as GND. The clock terminal TCK is a terminal to which the output clock signal CKQ, which is generated based on the oscillation signal OSC of the oscillation circuit 30, is output. The output enable terminal TOE is a terminal for controlling the enable and disable of the output of the output clock signal CKQ. The power supply terminal TVDD, the ground terminal TGND, the clock terminal TCK, and the output enable terminal TOE are electrically coupled to the external terminals TEVDD, TEGND, TECK, and TEOE for external coupling of the oscillator 4, respectively. For example, the electrical coupling is made using an internal wiring of a package, a bonding wire, a metal bump, or the like. Further, the external terminals TEVDD, TEGND, TECK, and TEOE of the oscillator 4 are electrically coupled to the external device.

The terminal TX1 which is the first terminal is electrically coupled to one end of the vibrator 10, and the terminal TX2 which is the second terminal is electrically coupled to the other end of the vibrator 10. For example, the terminals TX1 and TX2 of the circuit device 20 and the vibrator 10 are electrically coupled with each other using internal wiring, a bonding wire, a metal bump, or the like of a package that accommodates the vibrator 10 and the circuit device 20.

FIG. 2 illustrates an example of a layout disposition of the circuit device 20 of the present embodiment. In the example of the layout disposition in FIG. 2, the layout disposition of each circuit of the circuit device 20 described with reference to FIG. 1 is illustrated. FIG. 2 illustrates an example of the disposition in a plan view seen from a direction orthogonal to a substrate on which the circuit element of the circuit device 20 is formed. Note that, in FIG. 2, “ESD” is an electrostatic protection circuit, and “TEST” is a terminal for testing used at the time of inspection of the circuit device 20.

The circuit device 20 has sides SD1, SD2, SD3, and SD4. The sides SD1, SD2, SD3, and SD4 are a first side, a second side, a third side, and a fourth side, respectively. The sides SD1, SD2, SD3, and SD4 correspond to the sides of the rectangular semiconductor chip which is the circuit device 20. For example, the sides SD1, SD2, SD3, and SD4 are the sides of a substrate of the semiconductor chip. The semiconductor chips are also called silicon dies. The side SD2 is an opposite side of the side SD1. The side SD3 is a side that intersects the sides SD1 and SD2. The intersection means, for example, orthogonal. The side SD4 is an opposite side of the side SD3. The side SD4 intersects sides SD1 and SD2. A direction from the side SD1 toward the side SD2 is referred to as DR1, and a direction opposite to the direction DR1 is referred to as DR2. Further, a direction from the side SD3 toward the side SD4 is referred to as DR3, and a direction opposite to the direction DR3 is referred to as DR4. The directions DR1, DR2, DR3, and DR4 are a first direction, a second direction, a third direction, and a fourth direction, respectively.

As described with reference to FIG. 1, the circuit device 20 of the present embodiment includes the oscillation circuit 30 that oscillates the vibrator 10 to generate the oscillation signal OSC, the temperature sensor circuit 40 that performs the intermittent operation, a logic circuit that performs the temperature compensation processing based on the output of the temperature sensor circuit 40, and the power supply circuit 60 that supplies power to the oscillation circuit 30. For example, the regulated power supply voltage VREG1 is supplied from the power supply circuit 60 to the oscillation circuit 30 as a power source, and the oscillation circuit 30 generates the oscillation signal OSC by performing an oscillation operation to oscillate the vibrator 10. The temperature sensor circuit 40 detects the temperature while performing the intermittent operation that repeats an operation period and a stop period and outputs the detection result as temperature data TSQ to the logic circuit 50. The logic circuit 50 performs the temperature compensation processing based on the temperature data TSQ which is an output of the temperature sensor circuit 40. For example, the logic circuit 50 performs the temperature compensation processing that keeps the oscillation frequency of the oscillation circuit 30 constant even when the environmental temperature fluctuates. Specifically, the temperature compensation processing for the oscillation frequency is realized by adjusting the capacitance values of the variable capacitance circuit included in the oscillation circuit 30 based on the capacitance value adjustment data, which is the frequency adjustment data obtained by the temperature data TSQ.

As illustrated in FIG. 2, in the present embodiment, the oscillation circuit 30 is disposed in the circuit region RG1. Further, the temperature sensor circuit 40 and the logic circuit 50 are disposed in the circuit region RG2. The power supply circuit 60 is disposed in the circuit region RG3, which is positioned between the circuit region RG1 and the circuit region RG2. The circuit regions RG1, RG2, and RG3 are a first circuit region, a second circuit region, and a third circuit region, respectively. For example, the circuit region RG1 is a region along the side SD1, and the circuit region RG2 is a region along the side SD2 which is an opposite side of the side SD1. The circuit region RG3 is a region positioned between the circuit region RG1 and the circuit region RG2. For example, the power supply circuit 60 is disposed in the circuit region RG3 on the direction DR1 side of the circuit region RG1 where the oscillation circuit 30 is disposed, and the temperature sensor circuit 40 or the logic circuit 50 is disposed in the circuit region RG2 on the direction DR1 side of the circuit region RG3. For example, the power supply circuit 60 is disposed between the oscillation circuit 30, and the temperature sensor circuit 40 and the logic circuit 50. In other words, at least one of the power supply circuit and the logic circuit 50 is disposed between the oscillation circuit 30 and the temperature sensor circuit 40. The circuit region is a region in which circuit elements constituting the circuit and wirings coupling between the circuit elements are disposed. The circuit element is an active element such as a transistor or a passive element such as a resistor or a capacitor. For example, in FIG. 2, the circuit regions RG1, RG2, and RG3 are rectangular regions. The rectangular region includes a region having a substantially rectangular shape. For example, the circuit region RG1 in which the oscillation circuit 30 is disposed is a rectangular region having the direction DR3 along the side SD1 as the long side direction. The circuit region RG3 in which the power supply circuit 60 is disposed is also a rectangular region having the direction DR3 as the long side direction. The circuit region RG2 in which the temperature sensor circuit 40 and the logic circuit 50 are disposed is a rectangular region having the direction DR3 as the long side direction but may be a rectangular region having the direction DR1 along the side SD3 as the long side direction. Although the circuit regions RG1, RG2, and RG3 are rectangular regions in FIG. 2, the regions may be regions having a shape other than a rectangle.

For example, in the present embodiment, in order to reduce the current consumption of the circuit device 20, the temperature sensor circuit 40 performs the intermittent operation instead of performing a constant operation. By the temperature sensor circuit 40 performing the intermittent operation, the current consumption of the temperature sensor circuit 40 can be significantly reduced as compared with the case where the temperature sensor circuit 40 performs a constant operation, and as a result, low power consumption of the circuit device 20 can be achieved.

However, when the temperature sensor circuit 40 performs the intermittent operation in this way, as will be described later in FIG. 9 and the like, the current consumption fluctuates in an AC manner, and the signal characteristics such as the jitter characteristics of the oscillation signal OSC deteriorate due to the AC fluctuation in the current consumption. Specifically, the AC fluctuation in the current consumption at the temperature sensor circuit 40 is propagated to the oscillation circuit as noise, and the signal characteristics such as the jitter characteristics of the oscillation signal OSC deteriorate. As a result, the signal characteristics of the clock signal CK based on the oscillation signal OSC deteriorate, and a situation occurs in which the output clock signal CKQ having deteriorated signal characteristics is output from the circuit device 20 and the oscillator 4.

For example, in JP-A-2015-90973 described above, although it prevents deterioration of the signal characteristics of the clock signal by separating the analog circuit region and the digital circuit region, there is no mention of the temperature sensor circuit, and the above problems caused by the intermittent operation of the temperature sensor circuit is not ascertained. For example, a temperature sensor circuit, which uses an analog voltage, is often used in a temperature compensated oscillation circuit in the related art, and there is almost no AC fluctuation in current consumption. However, when the temperature sensor circuit 40 is set to a digital configuration and is set so as to perform the intermittent operation as in the present embodiment, the AC fluctuation in the current consumption is large and the temperature sensor circuit 40 is a noise source, so that it is also necessary to consider the disposition of the temperature sensor circuit 40.

Therefore, in the present embodiment, a layout disposition method that increases a space between the temperature sensor circuit 40 or the like, which is a noise source generated by the AC fluctuation in the current consumption due to the intermittent operation, and the oscillation circuit 30, which has a small current consumption and is susceptible to noise, is adopted. Specifically, as illustrated in FIG. 2, the oscillation circuit 30, which is susceptible to noise, is disposed in the circuit region RG1, and the temperature sensor circuit 40 and the logic circuit 50, which become noise sources, are disposed in the circuit region RG2. The power supply circuit 60 is disposed in the circuit region RG3, which is positioned between the circuit region RG1 and the circuit region RG2. In this way, the power supply circuit 60 disposed in the circuit region RG3 is interposed between the circuit region RG1, in which the oscillation circuit 30 is disposed, and the circuit region RG2, in which the temperature sensor circuit 40 and the logic circuit 50 are disposed. Further, by interposing the power supply circuit disposed in the circuit region RG3 in this way, the distance between the oscillation circuit 30, and the temperature sensor circuit 40 and the logic circuit 50 is increased. As a result, the AC fluctuation in the current consumption due to the intermittent operation of the temperature sensor circuit 40 becomes noise, and it is possible to effectively reduce a situation in which an adverse effect is given to the oscillation operation of the oscillation circuit 30, and the signal characteristics such as the jitter characteristics of the oscillation signal OSC deteriorate.

Specifically, in the present embodiment, the influence of noise generated by the interference between the digital circuits and the analog circuits is reduced by separating the region of the analog circuit such as the oscillation circuit 30, which has a small current consumption and is susceptible to noise, and the regions of the digital circuits such as the temperature sensor circuit 40, the logic circuit 50, and the output buffer circuit 70, which have a large current consumption and generate noise. For example, by separately disposing the region of the analog circuit such as the oscillation circuit 30 or the power supply circuit 60, which performs a constant operation, and the region of the digital circuit such as the temperature sensor circuit 40, which performs the intermittent operation, the influence of noise generated by the interference between the circuit performing a constant operation and the circuit performing the intermittent operation is reduced. For example, among the digital circuits, by making the distance between the output buffer circuit 70, which has the largest current consumption and is a noise source, and the oscillation circuit 30, which has a small current consumption and is most susceptible to noise, as far apart as possible, the adverse effect of noise wraparound to the oscillation circuit 30 is reduced. Further, the temperature sensor circuit 40 includes the digital circuit that converts temperature information into a digital code and performs the intermittent operation for low current consumption so that the current consumption during the operation becomes a noise source to the oscillation circuit 30 in the order close to that of the output buffer circuit 70. Therefore, the oscillation circuit 30, and the temperature sensor circuit 40 and the output buffer circuit 70, which become noise sources, are separately disposed, and by disposing the power supply circuit 60, which is less susceptible to noise than the oscillation circuit 30 and operates in a DC manner, between the oscillation circuit 30, and the temperature sensor circuit 40 and the output buffer circuit 70, the noise wraparound to the oscillation circuit 30 is reduced.

Further, the temperature sensor circuit 40 performs the intermittent operation of obtaining the temperature data TSQ corresponding to the temperature during the operation period and stopping the operation of the temperature sensor circuit 40 after outputting the obtained temperature data TSQ to the logic circuit 50. For example, the temperature sensor circuit 40 enters the operation enable state during the operation period and obtains the temperature data TSQ. For example, in the temperature sensor circuit 40, during the operation period, the ring oscillator 42, the counter circuit 44, the regulator 46, and the like illustrated in FIG. 4 described later enter the operation enable state, and the temperature data TSQ corresponding to the temperature is obtained. Specifically, the regulated power supply voltage VREG3 from the regulator 46 is supplied with respect to each of these circuits, and the enable signal of each circuit described later becomes active so that the operation current flowing through each circuit is turned on and each circuit enters the operation enable state. Thereafter, the temperature sensor circuit 40 outputs the obtained temperature data TSQ to the logic circuit 50. That is, the temperature data TSQ corresponding to the temperature measured during the operation period is output to the logic circuit 50. Further, after the temperature data TSQ is output to the logic circuit 50, the temperature sensor circuit 40 enters, for example, the operation disable state, and stops the operation thereof. For example, during the stop period of the intermittent operation, the ring oscillator 42, the counter circuit 44, the regulator 46, and the like enter the operation disable state and stop the operation. Specifically, the regulated power supply voltage VREG3 from the regulator 46 is not supplied with respect to each of these circuits, and the enable signal of each circuit becomes inactive so that the operation current flowing through each circuit is turned off and each circuit enters the operation disable state. By stopping the operation of each circuit of the temperature sensor circuit 40, the power saving of the temperature sensor circuit 40 can be achieved. By performing the intermittent operation in which the temperature sensor circuit 40 repeats the operation period and the stop period in this way, low power consumption is realized. The length of the operation period of the temperature sensor circuit 40 in the intermittent operation is, for example, 50 ms or less, and the current consumption of the temperature sensor circuit 40 during the operation period is, for example, 10 μA or less. The time required for a start is shorter as compared with that of the band gap reference (BGR) circuit described later so that the ring oscillator 42 can start the appropriate oscillation operation even for a short operation period. Further, by shortening the operation period of the temperature sensor circuit 40 in this way, low power consumption can be realized. Specifically, the current consumption of the oscillation circuit 30 is, for example, substantially 100 to 200 nA, the current consumption of the logic circuit 50 is, for example, substantially 10 to 20 nA, and the current consumption of the power supply circuit 60 is, for example, substantially 100 nA. Even when the current consumption of the temperature sensor circuit 40 during the operation period is, for example, substantially 100 μA, by causing the temperature sensor circuit 40 to perform the intermittent operation, it is possible to reduce the current consumption of the temperature sensor circuit 40 on average for 1 second to substantially 2 nA.

However, when the intermittent operation, in which the operation period and the stop period are repeated, is performed, the AC fluctuation of the current consumption occurs as described above and there may be a possibility that this becomes noise and gives an adverse effect on the oscillation circuit 30. In this regard, as illustrated in FIG. 2, in the present embodiment, the power supply circuit 60 is disposed in the circuit region RG3 between the circuit region RG1, in which the oscillation circuit 30 is disposed, and the circuit region RG2, in which the temperature sensor circuit 40 or the like is disposed. As a result, the distance between the oscillation circuit 30 and the temperature sensor circuit 40 can be increased. Therefore, even when the AC fluctuation in the current consumption due to such the intermittent operation occurs, the transmission of noise, which is generated by the fluctuation, to the oscillation circuit 30 is reduced, and the deterioration of the signal characteristics of the oscillation signal OSC can be reduced.

Further, as illustrated in FIG. 1, the logic circuit 50 has a latch circuit 52 that latches the temperature data TSQ output by the temperature sensor circuit 40 during the operation period. The latch circuit 52 can be realized by a holding circuit such as a flip-flop circuit or the like, for example. The logic circuit 50 performs the temperature compensation processing based on the temperature data TSQ latched by the latch circuit 52 even during the stop period of the temperature sensor circuit 40. That is, the temperature sensor circuit 40 obtains the temperature data TSQ corresponding to the temperature during the operation period, and the obtained temperature data TSQ is latched by the latch circuit 52 of the logic circuit 50. Therefore, even when the temperature sensor circuit 40 stops the operation thereof after outputting the obtained temperature data TSQ, the obtained temperature data TSQ is latched and held by the latch circuit 52 of the logic circuit 50. Therefore, even when the temperature sensor circuit 40 stops the operation in the stop period after the operation period of the intermittent operation, the logic circuit 50 can properly execute the temperature compensation processing based on the temperature data TSQ latched by the latch circuit 52. That is, the logic circuit 50 is operated by the regulated power supply voltage VREG2 supplied from the power supply circuit 60 which performs a constant operation, and then the temperature compensation processing can be executed.

As illustrated in FIG. 1, the circuit device 20 includes the output buffer circuit 70 that outputs the output clock signal CKQ based on the oscillation signal OSC. For example, the output buffer circuit 70 outputs a signal obtained by buffering the clock signal CK based on the oscillation signal OSC to the clock terminal TCK as the output clock signal CKQ. Further, as illustrated in FIG. 2, the output buffer circuit 70 is disposed in the circuit region RG2 which is the second circuit region. That is, in addition to the temperature sensor circuit 40 and the logic circuit 50, the output buffer circuit 70 is also disposed in the circuit region RG2. In this way, the power supply circuit 60 is disposed in the circuit region RG3 between the circuit region RG1, in which the oscillation circuit 30 is disposed, and the circuit region RG2 in which the output buffer circuit 70 is disposed. As a result, the distance between the oscillation circuit 30 and the output buffer circuit 70 can be increased. Therefore, the transmission of noise, which is generated by the output buffer circuit that buffers the clock signal CK, to the oscillation circuit 30 is reduced, and the deterioration of the signal characteristics of the oscillation signal OSC can be reduced.

Specifically, as illustrated in FIG. 2, the output buffer circuit 70 is disposed between the clock terminal TCK and the logic circuit 50. For example, the output buffer circuit 70 is disposed next to the clock terminal TCK. In this way, the clock signal CK, which is output by the logic circuit 50 based on the oscillation signal OSC, is input to the output buffer circuit 70 with a short path route and buffered, and is output from the clock terminal TCK as the output clock signal CKQ. As a result, it becomes possible to reduce deterioration of the signal characteristics of the output clock signal CKQ caused by the parasitic resistance and the parasitic capacitor in the route.

Further, as illustrated in FIG. 2, the circuit region RG1, which is the first circuit region, is a circuit region along the side SD1, which is the first side of the circuit device 20. Further, the circuit region RG2, which is the second circuit region, is a circuit region along the side SD2, which is the second side of the circuit device 20. For example, the circuit region RG1 is a circuit region having the side SD1 as a long side, and the oscillation circuit 30 is disposed in this circuit region RG1. Further, the circuit region RG2 is a circuit region having the side SD2, which is an opposite side of the side SD1 as the long side, and the temperature sensor circuit 40 and the logic circuit 50 are disposed in this circuit region RG2. In this way, the oscillation circuit 30 is disposed on the side SD1 side of the circuit device 20, and the temperature sensor circuit 40 and the logic circuit 50 are disposed on the side SD2 side, which is an opposite side of the side SD1 of the circuit device 20. Therefore, in the semiconductor chip of the circuit device 20, the distance between the oscillation circuit 30, the temperature sensor circuit 40 and the logic circuit 50 can be increased as much as possible, and the transmission of noise, which is generated from the temperature sensor circuit 40 or the logic circuit 50, to the oscillation circuit 30 can be further reduced.

The circuit device 20 also includes the power supply terminal TVDD to which the power supply voltage VDD is input. That is, the power supply terminal TVDD for supplying the VDD that is an external power supply voltage from an external power supply device is included. As illustrated in FIG. 2, the power supply terminal TVDD and the temperature sensor circuit 40 are disposed side by side along the side SD3 intersecting the side SD1 and the side SD2 of the circuit device 20. For example, the power supply terminal TVDD and the temperature sensor circuit 40 are disposed side by side in the order of the power supply terminal TVDD and the temperature sensor circuit 40 along the side SD3. For example, when a direction from the side SD1 toward the side SD2 is defined as DR1, the temperature sensor circuit 40 is disposed on the direction DR1 side of the power supply terminal TVDD. The direction DR1 is a direction along the side SD3. By arranging the power supply terminal TVDD and the temperature sensor circuit 40 side by side along the side SD3 in this way, since the power supply voltage VDD can be supplied to the temperature sensor circuit 40 from the power supply terminal TVDD with the short path route, the parasitic resistance and the like in the route can be sufficiently reduced. Therefore, when the AC fluctuation of the current consumption occurs due to the intermittent operation of the temperature sensor circuit 40, it is possible to minimize voltage fluctuations due to parasitic resistance or the like in the route from the power supply terminal TVDD to the temperature sensor circuit 40, and it is also possible to reduce noise caused by AC fluctuations in current consumption.

The circuit device 20 also includes the clock terminal TCK to which the output clock signal CKQ based on the oscillation signal OSC is output. The temperature sensor circuit 40 is disposed between the power supply terminal TVDD and the clock terminal TCK. When the direction from the side SD1 toward the side SD2 is defined as DR1, the clock terminal TCK is disposed on the direction DR1 side of the temperature sensor circuit 40. For example, the power supply terminal TVDD, the temperature sensor circuit 40, and the clock terminal TCK are disposed side by side along the side SD3 in the order of the power supply terminal TVDD, the temperature sensor circuit 40, and the clock terminal TCK. Further, the output buffer circuit 70 is disposed near the clock terminal TCK and the temperature sensor circuit 40. By disposing the temperature sensor circuit 40 between the power supply terminal TVDD and the clock terminal TCK in this way, the temperature sensor circuit 40, the clock terminal TCK, and the output buffer circuit 70, which become the noise sources, can be arranged collectively at a place along the side SD3, for example. Therefore, the layout disposition that keeps the distance between these noise sources and the oscillation circuit 30 as far apart as possible becomes easy, and the transmission of noise, which is generated from the noise source, to the oscillation circuit 30 can be reduced.

The circuit device 20 includes the clock terminal TCK from which the output clock signal CKQ based on the oscillation signal OSC is output, and the clock terminal TCK is disposed at a corner portion in which the side SD3 and the side SD2 of the circuit device 20 intersect. That is, the clock terminal TCK is disposed at the corner portion that is a region in which the side SD3, where the side SD1 and side SD2 intersect, and the side SD2 intersect. In this way, the clock terminal TCK, which is a noise source, or the output buffer circuit 70, which outputs the output clock signal CKQ to the clock terminal TCK, can be disposed at the corner portion in which the side SD3 and the side SD2 intersect. Therefore, for example, a distance between the oscillation circuit 30, which is disposed in the circuit region RG1 that is the region along the side SD1, and the noise source, which is generated by the output clock signal CKQ of the clock terminal TCK, can be increased as much as possible, and the transmission of noise, which is generated by the noise source, to the oscillation circuit 30 can be further reduced.

Further, the circuit device 20 includes a power supply terminal TVDD to which a power supply voltage VDD is input and a ground terminal TGND to which a ground voltage GND is input. The power supply terminal TVDD and the ground terminal TGND are diagonally disposed in the circuit region RG2, which is the second circuit region. For example, the power supply terminal TVDD is disposed at a first corner portion in the circuit region RG2, and the ground terminal TGND is disposed at a second corner portion in the circuit region RG2, which is diagonal to the first corner portion. In this way, as will be described in detail in FIG. 13 described later, the power supply voltage VDD of the circuit in the circuit region RG2 can be supplied by using a power supply line, which is coupled to the power supply terminal TVDD and wired to the circuit region RG2, and the ground voltage GND of the circuit in the circuit region RG2 can be supplied by using a ground line, which is coupled to the ground terminal TGND and wired to the circuit region RG2. Therefore, the noise, which is generated in the temperature sensor circuit 40 or the logic circuit 50 in the circuit region RG2, is absorbed by the power supply terminal TVDD or the ground terminal TGND side via the power supply line or the ground line wired in the circuit region RG2, and then the transmission of noise to the oscillation circuit 30 can be reduced.

2. Oscillation Circuit and Temperature Sensor Circuit

Next, an example of a configuration of the oscillation circuit 30 and the temperature sensor circuit 40 will be described. FIG. 3 illustrates an example of a configuration of the oscillation circuit 30. Note that the oscillation circuit 30 of the present embodiment is not limited to the configuration illustrated in FIG. 3, and some of the components may be omitted, other components may be added, or various modifications can be made, such as changing the component to another type of component.

As illustrated in FIG. 3, the oscillation circuit includes inverter circuits DV1 and DV2 and variable capacitance circuits CV1 and CV2. The inverter circuit DV1 is a drive circuit of the vibrator 10, an input node thereof is coupled to one end of the vibrator 10, and an output node thereof is coupled to the other end of the vibrator 10. The inverter circuit DV2 buffers the output signal of the inverter circuit DV1 and outputs the output signal as an oscillation signal OSC. The inverter circuits DV1 and DV2 are supplied with the VREG1 as a power supply voltage on the high potential side, supplied with the GND as a power supply voltage on the low potential side, and operated.

One end of the variable capacitance circuit CV1 is coupled to one end of the vibrator 10 and the other end thereof is coupled to the GND node. Specifically, the variable capacitance circuit CV1 includes a first capacitor array, in which one end thereof is coupled to one end of the vibrator 10, and a first switch array, in which one end thereof is coupled to the other end of the first capacitor array and the other end thereof is coupled to the GND node. The capacitance value of the variable capacitance circuit CV1 is adjusted by controlling the ON/OFF of the plurality of switches of the first switch array by using the frequency control data generated based on the temperature data TSQ. Similarly, one end of the variable capacitance circuit CV2 is coupled to the other end of the vibrator 10 and the other end thereof is coupled to the GND node. Specifically, the variable capacitance circuit CV2 includes a second capacitor array, in which one end thereof is coupled to the other end of the vibrator 10, and a second switch array, in which one end thereof is coupled to the other end of the second capacitor array and the other end thereof is coupled to the GND node. Further, the capacitance value of the variable capacitance circuit CV2 is adjusted by controlling the ON/OFF of the plurality of switches of the second switch array by using the frequency control data generated based on the temperature data TSQ. By adjusting the capacitance values of the variable capacitance circuits CV1 and CV2 in this way, the oscillation frequency of the oscillation signal OSC of the oscillation circuit 30 is controlled, and the temperature compensation processing for the oscillation frequency is realized.

FIG. 4 illustrates an example of a configuration of the temperature sensor circuit 40. Note that the temperature sensor circuit 40 of the present embodiment is not limited to the configuration illustrated in FIG. 4, and some of the components may be omitted, other components may be added, or various modifications can be made, such as changing the component to another type of component.

The temperature sensor circuit 40 includes a ring oscillator 42, a counter circuit 44, and a regulator 46. The ring oscillator 42 is a circuit in which a plurality of delay elements are coupled in a ring shape. Specifically, the ring oscillator 42 is a circuit in which signal inversion circuits such as an odd number of inverter circuits are coupled in a ring shape, as illustrated in FIG. 10 described later, and outputs an output pulse signal RCK which is an oscillation signal. The counter circuit 44 performs count processing of the number of pulses of the output pulse signal RCK for the ring oscillator 42 by using the clock signal CK based on the oscillation signal OSC. Thereafter, the temperature data TSQ based on the count value obtained by the count processing is output. For example, as illustrated in FIG. 5, the counter circuit 44 obtains the temperature data TSQ by obtaining the count value of the number of pulses of the output pulse signal RCK in a count period TSENS that is defined by the clock signal CK. For example, in FIG. 5, the count period TSENS is a period corresponding to m=7 clocks of the clock signal CK. The counter circuit 44 counts the number of pulses of the output pulse signal RCK during the count period TSENS. The regulator 46 supplies the regulated power supply voltage VREG3 to the ring oscillator 42. In FIG. 4, the regulator 46 also supplies the regulated power supply voltage VREG3 to the current setting circuit 48 and the counter circuit 44. For example, the regulator 46 generates the regulated power supply voltage VREG3 by regulating the power supply voltage VDD. For example, as illustrated in FIG. 4, the regulator 46 has an operational amplifier OPB, and resistors RB1 and RB2. The regulated power supply voltage VREG3 is generated by using the reference voltage generated by the difference in work function WF of an operational amplifier OPB. According to the configuration in FIG. 4, the temperature sensor circuit 40 capable of performing a low voltage operation with low power consumption can be realized by using a small-scale circuit.

As illustrated in FIG. 4, the temperature sensor circuit 40 includes the current setting circuit 48. The current setting circuit 48 operates based on the regulated power supply voltage VREG3 generated by the regulator 46 and sets the operation current of the ring oscillator 42. For example, the current setting circuit 48 generates bias voltages VBP2 and VBN2 for setting the operation current flowing through the inverter circuits IVA1, IVA2, IVA3, and IVA4 of the regulator 46 illustrated in FIG. 10, which will be described later. This operation current can also be called a bias current based on the bias voltages VBP2 and VBN2. By providing such a current setting circuit 48 and setting the operation current of the ring oscillator 42, the oscillation frequency of the ring oscillator 42 can be controlled. For example, the current setting circuit 48 sets the operation current, which is a bias current of the regulator 46 so that a current value increases as the temperature increases. In this way, it is possible to realize frequency control in which the oscillation frequency of the ring oscillator 42 increases as the temperature increases.

For example, FIG. 6 illustrates an example of characteristics of frequency deviation of the clock signal CK and the output pulse signal RCK with respect to the temperature. In FIG. 6, an example of the characteristics on the left side is an enlarged example of the vertical axis of an example of the characteristics on the right side. As illustrated in the example of the characteristics on the right side in FIG. 6, the frequency of the output pulse signal RCK, which is the oscillation frequency of the ring oscillator 42, increases as the temperature increases. This is realized by controlling the operation current of the ring oscillator 42 by the current setting circuit 48.

For example, an oscillator having a relatively low frequency such as 32 KHz is required to have low power consumption, low voltage operation, and miniaturization for sensor-related applications such as the Internet of things (IoT). However, the temperature sensor circuit in the related art has a problem that it is difficult to achieve both low current consumption and low voltage operation and to configure a small-sized temperature sensor circuit. For example, a high accuracy oscillator with a built-in temperature control function requires the temperature sensor circuit. However, when the temperature sensor circuit is constituted by a band gap reference (BGR) circuit and an A/D conversion circuit, it is difficult to achieve low current consumption or low voltage operation. For example, in order to generate a voltage proportional to the temperature, it is necessary to pass a certain amount or more of current through the bipolar transistor of the BGR circuit, and it is difficult to achieve low power consumption. Further, in order to increase the resolution of temperature detection, a dynamic range of the voltage input to the A/D conversion circuit is required so that it is difficult to achieve low voltage operation. Further, the capacitance DAC type A/D conversion circuit has a large capacitance area, and it is difficult to achieve miniaturization in order to ensure accuracy.

In FIG. 4, a frequency comparison type temperature sensor circuit 40 is used. That is, the temperature sensor circuit 40 is constituted by the built-in ring oscillator 42 whose oscillation frequency depends on the temperature, and the counter circuit 44 for counting the output pulse signal RCK of the ring oscillator 42. The ring oscillator 42 is an oscillation circuit controlled by a bias current depending on the temperature. Further, the reference clock signal of the counter circuit 44 is, for example, a clock signal CK of 32 KHz, which is the oscillation frequency of the oscillation circuit 30. Thereby, the current consumption is reduced by making the temperature sensor circuit 40 perform the intermittent operation, and preventing the signal of the count value in the counter circuit 44 from being transmitted to the logic circuit 50 during the count period TSENS.

Further, in order to reduce noise to be sneaking into circuits other than the temperature sensor circuit 40 due to the intermittent operation of the temperature sensor circuit 40, the power supply voltage of the temperature sensor circuit 40 uses the regulated power supply voltage VREG3 that is generated by the dedicated regulator 46. For example, the regulators 61 and 62 in FIG. 1 that generate the regulated power supply voltages VREG1 and VREG2 supplied to the oscillation circuit 30 and the logic circuit 50, are disposed in a region of the power supply circuit 60 in FIG. 2. In contrast to this, the regulator 46 in FIG. 4 that generates the regulated power supply voltage VREG3 supplied to the temperature sensor circuit 40, is disposed in a region of the temperature sensor circuit 40 in FIG. 2.

Since the count period TSENS illustrated in FIG. 5 is variable by setting a register provided in the logic circuit 50, for example, the resolution which is the sensitivity of temperature detection can be customized according to the specifications. Further, in FIG. 4, the configuration is such that the frequencies are compared by the counter circuit 44 so that the BGR circuit and the A/D conversion circuit are not required, and the current consumption and the circuit scale can be reduced. Further, since the ring oscillator 42 and the counter circuit 44 operate even with a low power supply voltage of, for example, substantially 1.2 V, the lower limit voltage for operation can be low, and since the resolution of temperature detection can be ensured by lengthening the count period TSENS, the resolution can also be ensured. Further, although there are individual differences in the frequency of the ring oscillator 42, by adjusting the logic circuit 50 provided in the subsequent stage of the counter circuit 44, it becomes possible to correspond to an address range of the lookup table for temperature compensation.

FIGS. 7 and 8 are detailed explanatory views of an operation of the temperature sensor circuit 40. FIG. 7 schematically illustrates an example of a detailed configuration of the counter circuit 44, and FIG. 8 illustrates a view of a signal waveform describing the circuit operation in FIG. 7. First, at a timing t1 in FIG. 8, the signal TSONVDD becomes a high level which is an active level, the regulator 46 is started, and the regulated power supply voltage VREG3 is activated. Further, a negative logic reset signal TSXRST becomes a low level which is an active level, the counter circuit 44 becomes a reset state, and a count value CNT1 of the counter CT becomes zero. A count value CNT2 output by the AND circuit AN1 to which the count value CNT1 is input also becomes zero. Next, the signals TSONROSC and TSONIREF become a high level after one cycle of the clock signal CK from the timing t1, and the ring oscillator 42 and the current setting circuit 48 are started. Thereafter, when the signal TSONROSC becomes a high level, the signal of the count value CNT2 which is the output of the AND circuit AN1 to which the inverted signal of this high level signal is input, is fixed to a low level. As a result, the signals of the count values CNT1 and CNT2 during the count period TSENS of the counter CT are not transmitted to the logic circuit 50, and low power consumption can be achieved.

Next, the count processing for the counter CT is started at a timing t2 after the lapse of the period TSRST from the timing t1. For example, it takes a certain amount of time from when the signal TSONROSC becomes a high level and the ring oscillator 42 is started until the oscillation frequency stabilizes. Therefore, the period TSRST for ensuring the time is set, and after the period TSRST elapses from the timing t1, the counter CT starts the count processing for the number of pulses of the output pulse signal RCK from the ring oscillator 42. The length of the period TSRST can be set by a register. As described in FIG. 5, during the count period TSENS, which is a period of the length of m clocks (m is an integer of 2 or more) of the clock signal CK, the counter CT performs the count processing for the number of pulses of the output pulse signal RCK and outputs the result of the count processing as the count value CNT1. Thereafter, the count processing is ended at a timing t3, and the count value CNT1 at that time is output to the logic circuit 50 as the temperature data TSQ via the AND circuit AN1 and the AND circuit AN2. At a timing t4, the latch circuit 52 of the logic circuit 50 latches the temperature data TSQ from the temperature sensor circuit 40. As a result, the temperature data TSDATA that is held in the latch circuit 52 is updated from the n-th temperature data to the next (n+1)-th temperature data. Thereafter, the logic circuit 50 performs the temperature compensation processing for the oscillation frequency based on the temperature data TSDATA held in the latch circuit 52.

FIG. 9 is an explanatory view of deterioration of signal characteristics of the oscillation signal OSC generated due to the intermittent operation of the temperature sensor circuit 40. When the temperature sensor circuit 40 performs the intermittent operation, as illustrated in A1 in FIG. 9, a situation occurs in which the current consumption of the temperature sensor circuit fluctuates in an AC manner. As a result, noise is generated on the ground line to which GND is supplied as illustrated in A2, and the noise is superimposed with respect to the signal in the oscillation circuit 30 as illustrated in A3 and A4. As a result, as illustrated in A5, jitter is generated in the oscillation signal OSC output from the oscillation circuit 30, the signal quality of the oscillation signal OSC deteriorates, and the signal characteristics of the clock signal CK also deteriorate. In this case, in the present embodiment, as illustrated in FIG. 2, since a distance between the temperature sensor circuit 40, which performs the intermittent operation, and the oscillation circuit 30 can be increased, the generation of such jitter can be reduced.

FIG. 10 illustrates an example of a configuration of a ring oscillator 42. The ring oscillator 42 includes a NAND circuit NAA, inverter circuits IVA1, IVA2, IVA3, and IVA4 coupled in a ring shape. An inverter circuit IVA5, which is a buffer circuit, is also included. By coupling these odd number of signal inversion circuits in a ring shape, it is possible to generate the output pulse signal RCK which is the oscillation signal. Note that an enable signal ENROSC for enabling or disabling the operation of the ring oscillator 42 is input to the NAND circuit NAA. When the enable signal ENROSC is activated or deactivated by the logic circuit 50, the intermittent operation of the ring oscillator 42 is performed, and the intermittent operation of the temperature sensor circuit 40 is realized. Further, P-type transistors TA1, TA2, TA3, and TA4 for passing an operation current are provided on the VREG3 side of the inverter circuits IVA1, IVA2, IVA3, and IVA4, and N-type transistors TA5, TA6, TA7, and TA8 are provided on the GND side. Further, the bias voltage VBP2 from the current setting circuit 48 is input to the gates of the transistors TA1 to TA4, and the bias voltage VBN2 from the current setting circuit 48 is input to the gates of the transistors TA5 to TA8. As a result, the operation current of the ring oscillator 42 is controlled, and the ring oscillator 42 can output the output pulse signal RCK whose frequency increases as the temperature increases, for example.

FIG. 11 illustrates an example of a configuration of a regulator 46. Note that, the regulators 61 and 62 in FIG. 1 can also be realized by the same circuit configuration as that of FIG. 11. As illustrated in FIG. 11, the regulator 46 includes the operational amplifier OPB, and the resistors RB1 and RB2. The operational amplifier OPB has a differential portion constituted by the transistors TB1, TB2, TB3, TB4, and TB5, and an output portion constituted by the transistors TB6 and TB7. Note that, an enable signal ENVREG3 for enabling or disabling the operation of the regulator 46 is input to the transistor TB8. When the enable signal ENVREG3 is activated or deactivated by the logic circuit 50, the intermittent operation of the regulator 46 is performed, and the intermittent operation of the temperature sensor circuit 40 is realized. In FIG. 11, the regulated power supply voltage VREG3 is generated by utilizing the difference in work function WF of the N-type transistors TB3 and TB4 constituting a differential pair. For example, the voltage of VREG3 is set based on the voltage of the difference in work function WF and the resistance values of the resistors RB1 and RB2.

FIG. 12 illustrates an example of a configuration of the current setting circuit 48. In FIG. 12, a bias voltage VBN1 is generated by the bias voltage generation circuit constituted by the transistors TC1, TC2, TC3, TC4, TC5, TC6, TC7, and TC8. Thereafter, the bias voltages VBP2 and VBN2 corresponding to the bias voltage VBN1 are generated by the current mirror circuit constituted by the transistors TC9, TC10, TC11, and TC12 and supplied to the ring oscillator 42 in FIG. 10, and the operation current of the ring oscillator 42 is set. Note that, the enable signals ENIREF and XENIREF for enabling or disabling the operation of the current setting circuit 48 are input to the transistors TC13 and TC14. When the enable signals ENIREF and XENIREF are activated or deactivated by the logic circuit 50, the intermittent operation of the current setting circuit 48 is performed, and the intermittent operation of the temperature sensor circuit 40 is realized.

3. Power Supply Line and Ground Line Wiring

FIG. 13 illustrates an example of wirings of a power supply line and a ground line in the circuit device 20 of the present embodiment. As illustrated in FIG. 13, the circuit device 20 of the present embodiment includes the oscillation circuit 30, the temperature sensor circuit that performs the intermittent operation, the logic circuit 50 that performs the temperature compensation processing, the power supply terminal TVDD to which the power supply voltage VDD is input, and the ground terminal TGND to which the ground voltage GND is input. Further, the oscillation circuit 30 is disposed in the circuit region RG1, and the temperature sensor circuit 40 and the logic circuit 50 are disposed in the circuit region RG2. As illustrated in FIG. 13, the power supply terminal TVDD and the ground terminal TGND are diagonally disposed in the circuit region RG2. That is, the power supply terminal TVDD is disposed at the first corner portion in the circuit region RG2, and the ground terminal TGND is disposed at the second corner portion facing the first corner portion in the circuit region RG2. In this way, the power supply voltage VDD of the circuit in the circuit region RG2 can be supplied by using a power supply line, which is coupled to the power supply terminal TVDD and wired to the circuit region RG2, and the ground voltage GND of the circuit in the circuit region RG2 can be supplied by using a ground line, which is coupled to the ground terminal TGND and wired to the circuit region RG2. Therefore, the transmission of noise, which is generated from the temperature sensor circuit 40, the logic circuit 50, or the like in the circuit region RG2, to the oscillation circuit 30 can be effectively reduced.

Specifically, as illustrated in FIG. 13, the circuit device 20 includes the power supply line LV1 and the ground line LG1. The LV1 is a first power supply line, and the LG1 is a first ground line. The power supply line LV1 is coupled to the power supply terminal TVDD, is wired in the circuit region RG1, and supplies the power supply voltage VDD to the oscillation circuit 30 in the circuit region RG1. The ground line LG1 is coupled to the ground terminal TGND, is wired in the circuit region RG1, and supplies the ground voltage GND to the oscillation circuit 30 in the circuit region RG1. Further, the circuit device includes power supply lines LV2A and LV2B and ground lines LG2A and LG2B. The LV2A and LV2B are second power supply lines, and the LG2A and LG2B are second ground lines. The power supply lines LV2A and LV2B are coupled to the power supply terminal TVDD, are wired in the circuit region RG2 by branching off from the power supply terminal TVDD separately from the power supply line LV1, and supply the power supply voltage VDD to the temperature sensor circuit 40, the logic circuit 50, and the like in the circuit region RG2. Specifically, the power supply line LV2A supplies the VDD to the temperature sensor circuit 40 and the output buffer circuit 70, and the power supply line LV2B supplies the VDD to the logic circuit 50. Further, the ground lines LG2A and LG2B are coupled to the ground terminal TGND, are wired in the circuit region RG2 by branching off from the ground terminal TGND separately from the ground line LG1, and supply the ground voltage GND to the temperature sensor circuit 40, the logic circuit 50, and the like in the circuit region RG2. Specifically, the ground line LG2A supplies the GND to the temperature sensor circuit 40 and the output buffer circuit 70, and the ground line LG2B supplies the GND to the logic circuit 50. Note that the circuit device 20 can include the power supply line LV3 and the ground line LG3. The LV3 is a third power supply line, and the LG3 is a third ground line. The power supply line LV3 is coupled to the power supply terminal TVDD, is wired in the circuit region RG3 by branching off from the power supply terminal TVDD separately from the power supply lines LV1, LV2A, and LV2B, and supplies the power supply voltage VDD to the power supply circuit 60 in the circuit region RG3. Further, the ground line LG3 is coupled to the ground terminal TGND, is wired in the circuit region RG3 by branching off from the ground terminal TGND separately from the ground lines LG1, LG2A, and LG2B, and supplies the ground voltage GND to the power supply circuit 60 in the circuit region RG3.

As described above, in FIG. 13, the oscillation circuit 30 is supplied with the VDD by the power supply line LV1 that is wired from the power supply terminal TVDD and supplied with the GND by the ground line LG1 that is wired from the ground terminal TGND. On the other hand, the temperature sensor circuit 40, the logic circuit 50, and the like are supplied with the VDD by the power supply lines LV2A and LV2B, which are wired by branching off from the power supply terminal TVDD separately from the power supply line LV1, and supplied with the GND by the ground lines LG2A and LG2B, which are wired by branching off from the ground terminal TGND separately from the ground line LG1. That is, the power supply line LV1 and the power supply lines LV2A and LV2B are wired by branching off separately from the power supply terminal TVDD. The oscillation circuit 30 is supplied with the VDD by the power supply line LV1, and the temperature sensor circuit 40, the logic circuit 50, and the like are supplied with the VDD by the power supply lines LV2A and LV2B. Further, the ground line LG1 and the ground lines LG2A and LG2B are wired by branching off separately from the ground terminal TGND. The oscillation circuit 30 is supplied with the GND by the ground line LG1, and the temperature sensor circuit 40, the logic circuit 50, and the like are supplied with the GND by the ground lines LG2A and LG2B. In this way, the noise generated in the temperature sensor circuit 40, the logic circuit 50 in the circuit region RG2, and the like is absorbed by the power supply terminal TVDD side and the ground terminal TGND side via the power supply lines LV2A and LV2B and the ground lines LG2A and LG2B. Further, the noise is less likely to be transmitted to the power supply line LV1 and the ground line LG1 sides whose wiring impedances are higher than the impedances on the power supply terminal TVDD and the ground terminal TGND sides. As a result, it becomes possible to effectively reduce a situation in which noise generated in the temperature sensor circuit 40, the logic circuit 50, or the like is transmitted to the oscillation circuit 30 and the signal characteristics of the oscillation signal OSC deteriorate.

In FIG. 13, the power supply terminal TVDD and the ground terminal TGND are diagonally disposed in the circuit region RG2. By arranging the power supply terminal TVDD and the ground terminal TGND diagonally in this way, the power supply line LV1 and the power supply lines LV2A and LV2B can be easily wired by branching off separately at a place of the power supply terminal TVDD, and the ground line LG1 and the ground lines LG2A and LG2B can be easily wired by branching off separately at a place of the ground terminal TGND. For example, it is possible to easily wire in a direction along the side SD3 such that the power supply line LV2A and the ground line LG2A pass near the temperature sensor circuit 40 and the output buffer circuit 70. Further, the power supply line LV2B and the ground line LG2B can be easily wired in a ring shape so as to surround the logic circuit 50, for example. On the other hand, the power supply line LV1 and the ground line LG1 can be easily branched and wired with respect to the circuit region RG1 of the oscillation circuit 30, which is on the side SD1 side with respect to the circuit region RG2, by pulling out the power supply line LV1 and the ground line LG1 to the side SD1 side from the circuit region RG2 in which the power supply terminals TVDD and ground terminal TGND are diagonally disposed. Therefore, it becomes possible to wire the power supply line or the ground line in an efficient layout disposition while reducing the transmission of noise, which is from the circuit region RG2, to the circuit region RG1. The circuits that become noise sources, such as the temperature sensor circuit 40, the logic circuit 50, and the output buffer circuit 70, are collectively disposed in the circuit region RG2 in which the power supply terminal TVDD and the ground terminal TGND are diagonally disposed, and the noise from these noise sources is also easily absorbed by the power supply terminal TVDD or the ground terminal TGND, which are diagonally disposed in the circuit region RG2. Therefore, it is possible to realize both efficiency of layout disposition and noise reduction at the same time.

The noise in the circuit region RG2 may be transmitted to the circuit region RG1 via, for example, a P-type substrate of the circuit device 20. In this regard, in FIG. 13, by disposing the layout in which the circuit region RG3 is interposed between the circuit region RG2 and the circuit region RG1, the distance between the circuit region RG2 and the circuit region RG1 can be increased, and the transmission of noise via the substrate can be effectively reduced.

4. Examples of Other Layout Dispositions

FIG. 14 illustrates an example of another layout disposition of the circuit device 20 of the present embodiment. The layout disposition in FIG. 14 is different from that of FIG. 2 in the disposition position of the temperature sensor circuit 40. For example, in FIG. 2, the temperature sensor circuit 40 is disposed along the side SD3, but in FIG. 14, the temperature sensor circuit 40 is disposed along the side SD4 which is an opposite side of the side SD3. Specifically, the circuit device 20 includes the ground terminal TGND to which the ground voltage GND is input, and in FIG. 14, the temperature sensor circuit 40 and the ground terminal TGND are disposed side by side along the side SD4 intersecting the side SD1 and the side SD2 of the circuit device 20. For example, the temperature sensor circuit 40 and the ground terminal TGND are disposed side by side along the side SD4 in the order of the temperature sensor circuit 40 and the ground terminal TGND. For example, when the direction from the side SD1 toward the side SD2 is defined as DR1, the ground terminal TGND is disposed on the direction DR1 side of the temperature sensor circuit 40. By arranging the temperature sensor circuit 40 and the ground terminal TGND side by side along the side SD4 in this way, since the ground voltage GND can be supplied to the temperature sensor circuit 40 from the ground terminal TGND with the short path route, the parasitic resistance and the like in the route can be sufficiently reduced. Therefore, when the AC fluctuation of the current consumption occurs due to the intermittent operation of the temperature sensor circuit 40, it is possible to minimize voltage fluctuations due to parasitic resistance or the like in the route from the temperature sensor circuit 40 to the ground terminal TGND, and it is also possible to reduce the level of noise caused by AC fluctuations in current consumption.

As described above, in the present embodiment, as illustrated in FIGS. 2 and 14, the power supply terminal TVDD and the temperature sensor circuit 40, or the ground terminal TGND and the temperature sensor circuit 40 are disposed side by side along the side SD3 or the side SD4 which is the side intersecting the side SD1 and the side SD2.

FIG. 15 illustrates an example of still another layout disposition of the circuit device 20 of the present embodiment. The layout disposition in FIG. 15 is different from that of FIG. 2 in the disposition position of the temperature sensor circuit 40. For example, in FIG. 2, the temperature sensor circuit 40 is disposed along the side SD3, but in FIG. 14, the temperature sensor circuit 40 is disposed along the side SD2. For example, in FIG. 15, the oscillation circuit 30 is disposed along the side SD1, and the temperature sensor circuit 40 is disposed along the side SD2 which is an opposite side of the side SD1. For example, the oscillation circuit 30 is disposed along the side SD1 so that the side SD1 becomes the long side direction, and the temperature sensor circuit 40 is disposed along the side SD2 so that the side SD2 becomes the long side direction. When the temperature sensor circuit 40 is disposed along the side SD2 which is an opposite side of the side SD1 where the oscillation circuit 30 is disposed in this way, as compared with FIG. 2 or 14, the distance between the oscillation circuit 30 and the temperature sensor circuit can be further increased. As a result, it becomes possible to further reduce the transmission of noise, which is generated by the intermittent operation of the temperature sensor circuit 40, to the oscillation circuit 30. Note that, the layout disposition of the circuit device 20 of the present embodiment is not limited to the examples of dispositions in FIGS. 2, 14, and 15, and various modifications can be used.

5. Oscillator

FIG. 16 illustrates a structural example of the oscillator 4 of the present embodiment. The oscillator 4 has the vibrator 10, the circuit device 20, and the package 15 that accommodates the vibrator 10 and the circuit device 20. The package 15 is made of, for example, ceramic or the like, and has an accommodation space inside thereof, and the vibrator 10 and the circuit device 20 are accommodated in the accommodation space. The accommodation space is hermetically sealed and is preferably in a reduced pressure state that is close to a vacuum state. With the package 15, the vibrator 10 and the circuit device 20 can be suitably protected from impact, dust, heat, moisture, and the like.

The package 15 has a base 16 and a lid 17. Specifically, the package 15 includes a base 16 that supports the vibrator 10 and the circuit device 20, and a lid 17 that is bonded to the top surface of the base 16 so as to form an accommodation space with the base 16. And the vibrator 10 is supported by the step portion provided inside the base 16 via the terminal electrode. The circuit device 20 is disposed on the inner bottom surface of the base 16. Specifically, the circuit device 20 is disposed such that the active surface faces the inner bottom surface of the base 16. The active surface is a surface on which the circuit elements of the circuit device 20 are formed. Further, bumps BMP are formed on terminals of the circuit device 20. The circuit device 20 is supported on the inner bottom surface of the base 16 via the conductive bumps BMP. The conductive bump BMP is, for example, a metal bump, and the vibrator 10 and the circuit device 20 are electrically coupled to each other via the bump BMP, the internal wiring of the package 15, the terminal electrode, or the like. The circuit device 20 is electrically coupled to the external terminals 18 and 19 of the oscillator 4 via the bumps BMP or the internal wiring of the package 15. The external terminals 18 and 19 are formed on the outer bottom surface of the package 15. The external terminals 18 and 19 are coupled to an external device via the external wirings. The external wiring is, for example, a wiring or the like formed on a circuit substrate on which an external device is mounted. Thereby, a clock signal or the like can be output to the external device.

In FIG. 16, the circuit device 20 is flip-mounted so that the active surface of the circuit device 20 faces downward, but the present embodiment is not limited to such mounting. For example, the circuit device 20 may be mounted so that the active surface of the circuit device 20 faces upward. That is, the circuit device 20 is mounted so that the active surface faces the vibrator 10.

As described above, the circuit device of the present embodiment includes the oscillation circuit that oscillates the vibrator to generate an oscillation signal, the temperature sensor circuit that performs the intermittent operation, the logic circuit that performs the temperature compensation processing based on the output of the temperature sensor circuit, and the power supply circuit that supplies power to the oscillation circuit. The oscillation circuit is disposed in the first circuit region, the temperature sensor circuit and the logic circuit are disposed in the second circuit region, and the power supply circuit is disposed in the third circuit region, which is positioned between the first circuit region and the second circuit region.

According to the present embodiment, the oscillation circuit receives power from the power supply circuit, performs an oscillation operation, which oscillates a vibrator, and generates an oscillation signal. The temperature sensor circuit detects the temperature while performing the intermittent operation, and the logic circuit performs the temperature compensation processing based on the output of the temperature sensor circuit. Further, in the present embodiment, the oscillation circuit is disposed in the first circuit region, the temperature sensor circuit and the logic circuit are disposed in the second circuit region, and the power supply circuit is disposed in the third circuit region, which is positioned between the first circuit region and the second circuit region. In this way, the power supply circuit disposed in the third circuit region is interposed between the first circuit region, in which the oscillation circuit is disposed, and the second circuit region, in which the temperature sensor circuit and the logic circuit are disposed. Therefore, the distance between the oscillation circuit, and the temperature sensor circuit and logic circuit can be increased, the AC fluctuation in the current consumption due to the intermittent operation of the temperature sensor circuit becomes noise, and it is possible to effectively reduce a situation in which an adverse effect is given to the oscillation operation of the oscillation circuit, and the signal characteristics of the oscillation signal deteriorate.

Further, in the present embodiment, the temperature sensor circuit may perform the intermittent operation of obtaining temperature data corresponding to temperature during an operation period and stopping an operation of the temperature sensor circuit after outputting the temperature data to the logic circuit.

By performing the intermittent operation in which the temperature sensor circuit repeats the operation period and the stop period in this way, the low power consumption of the circuit device can be achieved.

Further, in the present embodiment, the logic circuit may have a latch circuit that latches the temperature data output by the temperature sensor circuit during the operation period and perform the temperature compensation processing based on the latched temperature data even during a stop period of the temperature sensor circuit.

In this way, even when the temperature sensor circuit stops the operation in the stop period after the operation period, the logic circuit can properly execute the temperature compensation processing based on the temperature data that is latched by the latch circuit.

Further, in the present embodiment, the temperature sensor circuit may include a ring oscillator, a counter circuit that performs count processing for an output pulse signal of the ring oscillator by using a clock signal based on the oscillation signal and outputs temperature data based on a count value obtained by the count processing, and a regulator that supplies a regulated power supply voltage to the ring oscillator. Further, the regulator may supply the regulated power supply voltage to the ring oscillator during a period of the intermittent operation.

According to such a configuration, the temperature sensor circuit capable of performing a low voltage operation with low power consumption can be realized by using a small-scale circuit.

Further, in the present embodiment, the temperature sensor circuit may include a current setting circuit that operates based on the regulated power supply voltage and sets an operation current of the ring oscillator.

By providing such a current setting circuit and setting the operation current of the ring oscillator, it becomes possible to realize the frequency control that changes the oscillation frequency of the ring oscillator according to the temperature.

Further, in the present embodiment, the circuit device may include an output buffer circuit outputting an output clock signal based on the oscillation signal, in which the output buffer circuit may be disposed in the second circuit region.

In this way, the power supply circuit is disposed in the third circuit region between the first circuit region where the oscillation circuit is disposed and the second circuit region where the output buffer circuit is disposed, the distance between the oscillation circuit and the output buffer circuit can be increased.

Further, in the present embodiment, the first circuit region may be a circuit region along a first side of the circuit device, and the second circuit region may be a circuit region along a second side, which is an opposite side of the first side of the circuit device.

In this way, the oscillation circuit is disposed on the first side of the circuit device, and the temperature sensor circuit and the logic circuit are disposed on the second side, which is an opposite side of the first side of the circuit device, and the distance between the oscillation circuit, and the temperature sensor circuit and the logic circuit can be increased.

Further, in the present embodiment, the circuit device may include a power supply terminal, to which a power supply voltage is input, and a ground terminal, to which a ground voltage is input, in which the power supply terminal and the temperature sensor circuit, or the ground terminal and the temperature sensor circuit may be disposed side by side along a side intersecting the first side and the second side.

In this way, the power supply voltage or the ground voltage can be supplied to the temperature sensor circuit with a short path route, and it becomes possible to reduce voltage fluctuations due to parasitic resistance or the like with the route from the power supply terminal or the ground terminal to the temperature sensor circuit when the AC fluctuation of the current consumption occurs due to the intermittent operation of the temperature sensor circuit.

Further, in the present embodiment, the circuit device may include a clock terminal outputting an output clock signal based on the oscillation signal, in which the temperature sensor circuit may be disposed between the power supply terminal and the clock terminal.

In this way, the temperature sensor circuit and the clock terminal that become noise sources can be collectively disposed along the sides that intersect the first side and second side, and the transmission of noise, which is generated from the noise source, to the oscillation circuit can be reduced.

Further, in the present embodiment, the oscillation circuit may be disposed along the first side, and the temperature sensor circuit may be disposed along the second side.

In this way, the temperature sensor circuit that becomes a noise source is disposed along the second side facing the first side, so that the transmission of noise, which is generated from the noise source, to the oscillation circuit disposed along the first side, can be reduced.

Further, in the present embodiment, the circuit device may include a clock terminal outputting an output clock signal based on the oscillation signal, in which the clock terminal may be disposed at a corner portion in which a third side, which intersects the first side and the second side, and the second side of the circuit device intersect.

In this way, the distance between the oscillation circuit, which is disposed in the first circuit region, and the clock terminal can be increased, and the transmission of noise of the output clock signal at the clock terminal to the oscillation circuit can be reduced.

Further, in the present embodiment, the circuit device may include a power supply terminal, to which a power supply voltage is input, and a ground terminal, to which a ground voltage is input, in which the power supply terminal and the ground terminal may be diagonally disposed in the second circuit region.

In this way, the noise, which is generated in the temperature sensor circuit or the logic circuit in the second circuit region, is absorbed by the power supply terminal or the ground terminal side via the power supply line or the ground line wired in the second circuit region, and then the transmission of noise to the oscillation circuit can be reduced.

Further, in the present embodiment, the circuit device may include an oscillation circuit generating an oscillation signal by oscillating a vibrator, a temperature sensor circuit performing an intermittent operation, a logic circuit performing temperature compensation processing based on an output of the temperature sensor circuit, a power supply terminal to which a power supply voltage is input, and a ground terminal to which a ground voltage is input. Further the oscillation circuit may be disposed in a first circuit region, the temperature sensor circuit and the logic circuit may be disposed in a second circuit region, and the power supply terminal and the ground terminal may be diagonally disposed in the second circuit region.

According to the present embodiment, the oscillation circuit receives power from the power supply circuit, performs an oscillation operation, which oscillates a vibrator, and generates an oscillation signal. The temperature sensor circuit detects the temperature while performing the intermittent operation, and the logic circuit performs the temperature compensation processing based on the output of the temperature sensor circuit. Further, in the present embodiment, the oscillation circuit may be disposed in a first circuit region, the temperature sensor circuit and the logic circuit may be disposed in a second circuit region, and the power supply terminal and the ground terminal may be diagonally disposed in the second circuit region. Therefore, the noise, which is generated in the temperature sensor circuit or the logic circuit in the second circuit region, is absorbed by the power supply terminal or the ground terminal side via the power supply line or the ground line wired in the second circuit region, and then the transmission of noise to the oscillation circuit can be reduced.

Further, in the present embodiment, the circuit device may include a first power supply line that is coupled to the power supply terminal, is wired in the first circuit region, and supplies the power supply voltage to the oscillation circuit in the first circuit region, a first ground line that is coupled to the ground terminal, is wired in the first circuit region, and supplies the ground voltage to the oscillation circuit in the first circuit region. Further, the circuit device may include a second power supply line that is coupled to the power supply terminal, is wired in the second circuit region by branching off from the power supply terminal separately from the first power supply line, and supplies the power supply voltage to the temperature sensor circuit and the logic circuit in the second circuit region. Further, the circuit device may include a second ground line that is coupled to the ground terminal, is wired in the second circuit region by branching off from the ground terminal separately from the first ground line, and supplies the ground voltage to the temperature sensor circuit and the logic circuit in the second circuit region.

In this way, the noise generated in the temperature sensor circuit or the logic circuit in the second circuit region is absorbed by the power supply terminal side or the ground terminal side via the second power supply line or the second ground line, and the noise is less likely to be transmitted to the first power supply line or the first ground line side. Therefore, it is possible to reduce the deterioration of the signal characteristics of the oscillation signal due to the noise, which is generated in the temperature sensor circuit or the logic circuit, being transmitted to the oscillation circuit.

Further, the present embodiment relates to an oscillator including the circuit device described above and the vibrator.

Although the present embodiment has been described in detail as described above, it will be easily understood by those skilled in the art that many modifications can be made without departing from the novel matters and effects of the present disclosure. Accordingly, all such modification examples are intended to be included within the scope of the present disclosure. For example, a term described at least once together with a different term having a broader meaning or the same meaning in the specification or the drawings can be replaced with the different term in any part of the specification or the drawings. All combinations of the present embodiment and the modification examples are also included in the scope of the present disclosure. Further, the configurations/operations of the circuit device and oscillator are not limited to those described in the present embodiment, and various modifications can be made. 

What is claimed is:
 1. A circuit device comprising: an oscillation circuit generating an oscillation signal by oscillating a vibrator; a temperature sensor circuit performing an intermittent operation; a logic circuit performing temperature compensation processing based on an output of the temperature sensor circuit; and a power supply circuit supplying power to the oscillation circuit, wherein the oscillation circuit is disposed in a first circuit region, the temperature sensor circuit and the logic circuit are disposed in a second circuit region, and the power supply circuit is disposed in a third circuit region positioned between the first circuit region and the second circuit region.
 2. The circuit device according to claim 1, wherein the temperature sensor circuit performs the intermittent operation of obtaining temperature data corresponding to temperature during an operation period and stopping an operation of the temperature sensor circuit after outputting the temperature data to the logic circuit.
 3. The circuit device according to claim 2, wherein the logic circuit has a latch circuit that latches the temperature data output by the temperature sensor circuit during the operation period and performs the temperature compensation processing based on the latched temperature data even during a stop period of the temperature sensor circuit.
 4. The circuit device according to claim 1, wherein the temperature sensor circuit includes a ring oscillator, a counter circuit that performs count processing for an output pulse signal of the ring oscillator by using a clock signal based on the oscillation signal and outputs temperature data based on a count value obtained by the count processing, and a regulator that supplies a regulated power supply voltage to the ring oscillator, and the regulator supplies the regulated power supply voltage to the ring oscillator during a period of the intermittent operation.
 5. The circuit device according to claim 4, wherein the temperature sensor circuit includes a current setting circuit that operates based on the regulated power supply voltage and sets an operation current of the ring oscillator.
 6. The circuit device according to claim 1, further comprising: an output buffer circuit outputting an output clock signal based on the oscillation signal, wherein the output buffer circuit is disposed in the second circuit region.
 7. The circuit device according to claim 1, wherein the first circuit region is a circuit region along a first side of the circuit device, and the second circuit region is a circuit region along a second side, which is an opposite side of the first side, of the circuit device.
 8. The circuit device according to claim 7, further comprising: a power supply terminal to which a power supply voltage is input; and a ground terminal to which a ground voltage is input, wherein the power supply terminal or the ground terminal, and the temperature sensor circuit are disposed side by side along a side intersecting the first side and the second side.
 9. The circuit device according to claim 8, further comprising: a clock terminal outputting an output clock signal based on the oscillation signal, wherein the temperature sensor circuit is disposed between the power supply terminal and the clock terminal.
 10. The circuit device according to claim 7, wherein the oscillation circuit is disposed along the first side, and the temperature sensor circuit is disposed along the second side.
 11. The circuit device according to claim 7, further comprising: a clock terminal outputting an output clock signal based on the oscillation signal, wherein the clock terminal is disposed at a corner portion in which a third side, which intersects the first side and the second side, and the second side of the circuit device intersect.
 12. The circuit device according to claim 1, further comprising: a power supply terminal to which a power supply voltage is input; and a ground terminal to which a ground voltage is input, wherein the power supply terminal and the ground terminal are diagonally disposed in the second circuit region.
 13. A circuit device comprising: an oscillation circuit generating an oscillation signal by oscillating a vibrator; a temperature sensor circuit performing an intermittent operation; a logic circuit performing temperature compensation processing based on an output of the temperature sensor circuit; a power supply terminal to which a power supply voltage is input; and a ground terminal to which a ground voltage is input, wherein the oscillation circuit is disposed in a first circuit region, the temperature sensor circuit and the logic circuit are disposed in a second circuit region, and the power supply terminal and the ground terminal are diagonally disposed in the second circuit region.
 14. The circuit device according to claim 13, further comprising: a first power supply line that is coupled to the power supply terminal, is wired in the first circuit region, and supplies the power supply voltage to the oscillation circuit in the first circuit region; a first ground line that is coupled to the ground terminal, is wired in the first circuit region, and supplies the ground voltage to the oscillation circuit in the first circuit region; a second power supply line that is coupled to the power supply terminal, is wired in the second circuit region by branching off from the power supply terminal separately from the first power supply line, and supplies the power supply voltage to the temperature sensor circuit and the logic circuit in the second circuit region; and a second ground line that is coupled to the ground terminal, is wired in the second circuit region by branching off from the ground terminal separately from the first ground line, and supplies the ground voltage to the temperature sensor circuit and the logic circuit in the second circuit region.
 15. An oscillator comprising: the circuit device according to claim 1; and the vibrator. 